package com.hopu.day07springboot.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
import pojo.User;

@RestController
public class HelloController {


    @RequestMapping("/hello")
    public String hello(User user){
        System.out.println(user);
        return "Hello SpringBoot！！！！！！！！";
    }
}
